package com.lianrui.app.cart.domain;

import com.lianrui.app.goods.domain.Product;
import com.lianrui.core.Domain;

/**
 * 功能描述：购物车对象类
 * 
 * @author LJQ
 * 
 * <br>2016年1月7日 下午2:20:50
 */
public class Cart extends Domain<Integer> {
	
	private static final long serialVersionUID = 1L;
	
	/**主键**/
	private Integer cart_id;
	/**商品ID**/
	private Integer product_id;
	/**购买数量**/
	private Integer num;
	/****/
	private Double weight;
	/**会员ID**/
	private String member_id;
	/**0商品 1捆绑商品 2赠品**/
	private Integer itemtype;
	/**商品名称**/
	private String name;
	/**商品价格**/
	private Double price;
	/**附件字串**/
	private String addon; 
	/**小项 增加类**/
	private Integer leinum;
	
	/**商品列表**/
	private Product product;
	
	@Override
	public Integer getId() {
		return cart_id;
	}
	
	@Override
	public void setId(Integer id) {
		this.cart_id = id;
	}

	public Integer getCart_id() {
		return cart_id;
	}

	public void setCart_id(Integer cart_id) {
		this.cart_id = cart_id;
	}

	public Integer getProduct_id() {
		return product_id;
	}

	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Double getWeight() {
		return weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public String getMember_id() {
		return member_id;
	}

	public void setMember_id(String member_id) {
		this.member_id = member_id;
	}

	public Integer getItemtype() {
		return itemtype;
	}

	public void setItemtype(Integer itemtype) {
		this.itemtype = itemtype;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getAddon() {
		return addon;
	}

	public void setAddon(String addon) {
		this.addon = addon;
	}

	public Integer getLeinum() {
		return leinum;
	}

	public void setLeinum(Integer leinum) {
		this.leinum = leinum;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}
	
}
